package com.sh.dc.common.pojo.bo;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
public class TaskAlgoSaveBO {

    private Integer id;

    private String tid;

    @NotNull(message = "任务名称不能为空")
    private String name;

    @NotNull(message = "任务状态不能为空")
    private String status;

    @NotNull(message = "算法ID不能为空")
    private Integer algoId;

    private String algoName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    private String createBy;

    private String result;

    private String spec;

}
